package com.ydd.app.manager;

import com.ydd.app.bean.common.CompanyInfoBean;
import com.ydd.app.bean.common.CompanyTypeBean;
import com.ydd.app.bean.common.ConfigTypeBean;
import com.ydd.app.bean.input.CreateCompanyRequest;
import com.ydd.app.bean.input.CreateConfigTypesRequest;
import com.ydd.app.bean.input.UpdateDisplayFieldRequest;

public interface CompanyMng {

	public CompanyInfoBean queryCompanyInfo(final String ssId,final String userId);
	
	public CompanyInfoBean[] queryCompanyInfos(final String companyTypeId,final int page, final int pageCount);
	
	public ConfigTypeBean[] queryNewestCompanyInfos( final int pageCount);
	
	public ConfigTypeBean[] queryConfigTypes();
	
	public CompanyTypeBean[] queryCompanyTypes();
	
	public int queryCompanyCount(final String companyTypeId);
	
	public boolean createCompany(final CreateCompanyRequest request);
	
	public boolean createCOnfigType(final CreateConfigTypesRequest request);
	
	public boolean updateDisplayField(final UpdateDisplayFieldRequest request);
}
